{% import 'demo-macro-input.html' as func %}

<form>
    {{ func.input("用户名：", name="username") }}<br/>
    {{ func.input("身份证号：", name="id_card") }}<br/>
    {{ func.input("密码：", type="password", name="password") }}<br/>
    {{ func.input("确认密码：", type="password", name="password2") }}<br/>
    {{ func.input(type="submit", value="注册") }}
</form>